package com.api.syh56.shengyunhui.service;

import com.api.syh56.shengyunhui.entity.Invoice;
import com.api.syh56.shengyunhui.entity.dto.InvoiceDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface InvoiceService extends IService<Invoice> {

    void insert(InvoiceDTO invoiceDTO);

    void insertNew(InvoiceDTO invoiceDTO);

    void deleteById(Long id);

    List<Invoice> selectAll();

    Invoice selectBy(Long id);

    void insertUrl(Invoice invoice);
}
